Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

Rewrite agent?

Could you rewrite the agent to run faster? Since you are not posting yoru code, I can't tell if you already used that approach, but the way i would do it is to build a view where I expose all the documents, including the ContactID field.
In my agent I would create a NotesViewEntryCollection and loop through the view entries and check for duplicates. If you find a duplicate you insert it into a list.
Finally you process the list of duplicates, send it in an email for example.

That should be much faster than opening each document and reading values.

Also, I hope you were not using GetNthDocument() in your agent, then it would take forever. :-)


Feedback response number WEBBA4BQQX created by ~Dan Kikiterobu on 11/16/2015

View based on count of same field v... (~Sean Asaboosiz... 9.Nov.15)
. . You need to create an agent to achi... (~Fred Asatumibu... 9.Nov.15)
. . . . Agent solution already tried (~Sean Asaboosiz... 10.Nov.15)
. . . . . . Rewrite agent? (~Dan Kikiterobu... 16.Nov.15)
. . Agent to set a flag (~Martha Lopjipy... 9.Nov.15)
. . . . Agent solution already tried (~Sean Asaboosiz... 10.Nov.15)
. . . . . . Timing out? (~Martha Lopjipy... 10.Nov.15)
. . Is this more to identify them? (~Lily Minkitexf... 9.Nov.15)
. . . . Count column may be alternative (~Sean Asaboosiz... 10.Nov.15)
. . . . . . Why not fix the problem? (~Martha Lopjipy... 10.Nov.15)
. . . . Progress on count column (~Sean Asaboosiz... 11.Nov.15)
. . . . . . You can't select on 'count' columns... (~Martha Lopjipy... 13.Nov.15)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS